package com.zlzxm.shoesmarket.net.api;

import com.zlzxm.shoesmarket.net.request.RqReleaseRecruit;
import com.zlzxm.shoesmarket.net.respone.BaseResponse;
import com.zlzxm.shoesmarket.net.respone.RpRecruit;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;

/**
 * CREATE BY zlzxm ON 2021/5/11
 */
public interface RecruitApi {

    @POST("/qiuxie/v1/seek/add")
    Observable<BaseResponse<String>> releaseRecruit(@Body RqReleaseRecruit releaseRecruit);



    @GET("/qiuxie/v1/config/seek")
    Observable<BaseResponse<String>> recruitDesc();


    @GET("/qiuxie/v1/seek/list")
    Observable<BaseResponse<List<RpRecruit>>> recruitList();
}
